package com.lq.schoolshop.service.impl;

import com.lq.schoolshop.dao.SendOrderMapper;
import com.lq.schoolshop.pojo.Expand.ShopAndGoodsVO;
import com.lq.schoolshop.service.SendOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author
 * @Date2021/1/26 22:34
 * @Version V1.0
 * 为什么努力？想把钱都赚够，一心跳广场舞曲去。
 **/
@Service
public class SendOrderServiceImpl implements SendOrderService {

    @Autowired
    private SendOrderMapper sendOrderMapper;

    @Override
    public List<ShopAndGoodsVO> selByShopId(int[] integers) {
        return sendOrderMapper.selByShopId(integers);
    }

    @Override
    public double selSumByShopID(int[] integers) {
        return sendOrderMapper.selSumByShopID(integers);
    }

}
